﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Reflection;
using System.Data;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.Web.Core;

namespace Yuanlin.Business
{
    public class Comment : Entity
    {
        private Property<string> content = new Property<string>();
        private Property<int> newsId = new Property<int>();
        private Property<int> newsEntityType = new Property<int>();
        private Property<DateTime> createDate = new Property<DateTime>();
        private Property<int> state = new Property<int>();
        private Property<int> userId = new Property<int>();
        private Property<string> greenNumber = new Property<string>();

        public Property<int> NewsId
        {
           get { return newsId; }
           set { newsId = value; }
        }
        public Property<int> NewsEntityType
        {
            get { return newsEntityType; }
            set { newsEntityType = value; }
        }
        public Property<int> State
        {
           get { return state; }
           set { state = value; }
        }
        public Property<int> UserId
        {
            get { return userId; }
            set { userId = value; }
        }
        public Property<string> GreenNumber
        {
            get { return greenNumber; }
            set { greenNumber = value; }
        }
        public Property<string> Content
        {
            get { return content; }
            set { content = value; }
        }
        public Property<DateTime> CreateDate
        {
            get { return createDate; }
            set { createDate = value; }
        }
    }
}